﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TaskProject.Domain.Production
{
    public  class ProductItemModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        /// <summary>
        /// 产品Id
        /// </summary>
        public int ProductId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string UnitName { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public string Classify { get; set; }
        /// <summary>
        /// 计划开始时间
        /// </summary>
        public DateTime PlanStart { get; set; }
        /// <summary>
        /// 计划结束时间
        /// </summary>
        public DateTime PlanEnd { get; set; }
        /// <summary>
        /// 计划产量
        /// </summary>
        public int PlanNum { get; set; }
        /// <summary>
        /// 生产工单外键
        /// </summary>
        public int WorkOrderId { get; set; }
    }
}
